<template>
	<view>
		<view @click="topaga(0)"
			style="display: flex;justify-content: space-between;line-height: 100rpx;border-bottom: #d5d5d5 1rpx solid;padding: 0 30rpx;">
			<text>修改手机号</text>
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view @click="topaga(1)"
			style="display: flex;justify-content: space-between;line-height: 100rpx;border-bottom: #d5d5d5 1rpx solid;padding: 0 30rpx;">
			<text>修改密码</text>
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view @click="dlogin"
			style="display: flex;justify-content: space-between;line-height: 100rpx;border-bottom: #d5d5d5 1rpx solid;padding: 0 30rpx;">
			<text>退出登录</text>
			<u-icon name="arrow-right"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			dlogin() {
				uni.navigateTo({
					url: '../login/login'
				})
			},
			topaga(a) {
				if (a == 0) {
					uni.navigateTo({
						url: './updphone/updphone'
					})
				} else {
					uni.navigateTo({
						url: './updpassword/updpassword'
					})
				}
			}
		}
	}
</script>

<style>

</style>
